package com.ruoyi.common.core.domain;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * BaseEntityLogic
 *
 * @author HHKJ-SERVER-ZJ
 * @since 2023/5/9 15:47
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class BizBaseEntity extends BaseEntity {

    /** 主键id */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 删除标签 2-删除 0-未删除 默认为0 */
    @TableLogic
    @JsonIgnore
    @TableField(fill = FieldFill.INSERT)
    private String delFlag;
}
